package cn.xinfei.xdecision.common.datamodel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("t_decision_reentry_log")
public class DecisionReentryLog {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String requestId;
    private String decisionId;

    private String engineCode;
    private String engineName;
    private String engineVersion;

    private String scene;
    private String state;
    private String result;
    private long respond;
    //重入任务被调度的模式，默认是xxl，mq
    private String scheduleModel="XXL";

    private Date createTime;
    private Date updateTime;
}
